From: Georges Basile Stavracas Neto Date: Fri, 9 Aug 2019 13:56:37 +0000 (-0300) Subject: folderIcon: Properly reject drop X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~839^2^2~7 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=4c89eac9a48d31fe3070f09ace7a9b9551dcc7a2;p=gnome-shell.git folderIcon: Properly reject drop When a drop is rejected, we are mistakenly returning true instead of false. Return false when the rejecting the drop. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/671 --- diff --git a/js/ui/appDisplay.js b/js/ui/appDisplay.js index 8882336ff..9a8188748 100644 --- a/js/ui/appDisplay.js +++ b/js/ui/appDisplay.js @@ -1520,7 +1520,7 @@ var FolderIcon = class FolderIcon { acceptDrop(source) { if (!this._canAccept(source)) - return true; + return false; let app = source.app; let folderApps = this._folder.get_strv('apps');